package edu.del.teamknowledgebase.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = 701924218679011680L;

    /**
     * 接收手机号或者邮箱
     */
    private String account;

    /**
     * 密码
     */
    private String password;

    /**
     * 图片验证码
     */
    private String captcha;

    /**
     * 登录方式：email-邮箱登录，phone-手机登录
     */
    private String loginType;

    /**
     * 验证码 Key
     */
    private String captchaKey;

}
